/* $Id: VBoxMPUtils.h $ */
/** @file
 * VBox Miniport common utils header
 */

 /*
  * Copyright (C) 2011-2020 Oracle Corporation
  *
  * This file is part of VirtualBox Open Source Edition (OSE), as
  * available from http://www.virtualbox.org. This file is free software;
  * you can redistribute it and/or modify it under the terms of the GNU
  * General Public License (GPL) as published by the Free Software
  * Foundation, in version 2 as it comes in the "COPYING" file of the
  * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
  * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
  */

#ifndef _WDDM_INCLUDE_COMMON_VBOXMPUTILS_H_
#define _WDDM_INCLUDE_COMMON_VBOXMPUTILS_H_

#include "CommonDef.h"

#define VBE_DISPI_TOTAL_VIDEO_MEMORY_BYTES (4 * _1M)

/* Windows version identifier */
typedef enum
{
    WINVERSION_UNKNOWN = 0,
    WINVERSION_NT4 = 1,
    WINVERSION_2K = 2,
    WINVERSION_XP = 3,
    WINVERSION_VISTA = 4,
    WINVERSION_7 = 5,
    WINVERSION_8 = 6,
    WINVERSION_81 = 7,
    WINVERSION_10 = 8
} vboxWinVersion_t;

extern "C" {
vboxWinVersion_t VBoxQueryWinVersion(UINT32* pbuild);
}

#endif
